﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HappyHour.MyTasks.Client.UI.Metro.Common;
using Windows.UI.Xaml;

namespace HappyHour.MyTasks.Client.UI.Metro.Data
{
    public class TaskItem : BindableBase
    {
        private string _title;
        private string _description;
        private DateTime _dueDate;
        private DateTime _startDate;
        private bool _isDone;

        public string Title
        {
            get { return _title; }
            set { this.SetProperty(ref this._title, value); }
        }

        public string Description
        {
            get { return _description; }
            set { this.SetProperty(ref this._description, value); }
        }

        public DateTime DueDate
        {
            get { return _dueDate; }
            set { this.SetProperty(ref this._dueDate, value); }
        }

        public DateTime StartDate
        {
            get { return _startDate; }
            set { this.SetProperty(ref this._startDate, value); }
        }

        public bool IsDone
        {
            get { return _isDone; }
            set { this.SetProperty(ref this._isDone, value); }
        }
    }
}
